package org.springframework.demo2;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;
import org.springframework.stereotype.Component;

public class UserService {

	private String userName;

	//mybatis  @MapperScanner
	public void hello(){
		System.out.println("hello："+userName);
	}

	public void setUserName(String userName){
		this.userName=userName;
	}
}
